2020-2021 Sunseeker Telemetry and Lighting System
cs_ex2_VLOSourcesMCLK.c File Reference
#include "driverlib.h"
#include "Board.h"

Go to the source code of this file.

Functions

void main (void)
 
void NMI_ISR (void)
 

Variables

uint32_t clockValue
 
uint16_t status
 

Function Documentation

◆ main()

void main ( void  )

Definition at line 72 of file cs_ex2_VLOSourcesMCLK.c.

References __no_operation(), and clockValue.

◆ NMI_ISR()

void NMI_ISR ( void  )

Definition at line 128 of file cs_ex2_VLOSourcesMCLK.c.

References status.

Variable Documentation

◆ clockValue

uint32_t clockValue

This program demonstrates using VLO to source MCLK MCLK = VLO = 10kHz (typical)

     MSP430FR2xx_4xx Board
       -----------------
   /|\|                 |
    | |                 |
    --|RST              |
      |                 |
      |                 |-->MCLK
      |                 |

This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:

  • CS module
  • GPIO Port peripheral

This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.

  • None.

Definition at line 63 of file cs_ex2_VLOSourcesMCLK.c.

Referenced by main().

◆ status

uint16_t status

Definition at line 70 of file cs_ex2_VLOSourcesMCLK.c.

Referenced by NMI_ISR().